package com.weifeiyang.aidlserverdemo;

/**
 * Created by weifeiyang on 2016/6/12 0012.
 */

public class People implements PeopleInf {
    private int fromPosition;
    private MySingleNotifyCallBackInterface callBack;

    public People(int fromPosition, MySingleNotifyCallBackInterface callBack) {
        this.fromPosition = fromPosition;
        this.callBack = callBack;
    }

    @Override
    public void eat() {
        ServiceManagerUtil.dealWithResult(fromPosition, callBack, "eat", "eat");
    }
}
